package top.hzy520.log.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import top.hzy520.log.entity.SysLoginLog;
import top.hzy520.log.entity.SysOperationLog;

import java.util.List;

@Mapper
public interface SysOperationLogMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SysOperationLog record);

    int insertSelective(SysOperationLog record);

    SysOperationLog selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysOperationLog record);

    int updateByPrimaryKey(SysOperationLog record);

    int queryOperationLogAllCount();

    List<SysOperationLog> paginationQueryOperationLog(@Param("offset") int offset,@Param("limit") int limit);

    void deleteOperationLog(@Param("operationLogList") List<SysOperationLog> operationLogList);
}